<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
class Dicts extends Model
{
    // 店休日
    const DAY_OFF = 6;
	//指定表名
	protected $table='dicts';
	//指定id
	protected $primaryKey ='id';
	//自动维护时间戳
	//批量赋值
    public $timestamps=false;
	public function  showtags(){
		return $this->hasMany('App\Tags','category');
	}
   
}
